/**
 * 
 */
package br.com.skynix.tcmc.service.configuracao.financeiro.portadores;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.skynix.tcmc.base.spring.AbstractDao;
import br.com.skynix.tcmc.base.spring.AbstractServiceImpl;
import br.com.skynix.tcmc.model.financeiro.Portador;
import br.com.skynix.tcmc.model.rh.Empresa;

/**
 * @author davi
 * 
 */
@Service
public class PortadorServiceImpl extends AbstractServiceImpl<Portador>
		implements PortadorService {
	@Autowired
	private PortadorDao dao;

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * br.com.skynix.tcmc.service.configuracao.financeiro.portadores.PortadorService
	 * #listarTodos(br.com.skynix.tcmc.model.rh.Empresa)
	 */
	@Override
	public List<Portador> listarTodos(Empresa empresa) {
		return dao.listarTodos();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see br.com.skynix.tcmc.base.spring.AbstractServiceImpl#getDao()
	 */
	@Override
	protected AbstractDao<Portador> getDao() {
		return dao;
	}
}
